﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
  <session-factory>
    <property name="proxyfactory.factory_class">
      NHibernate.ByteCode.Spring.ProxyFactoryFactory,
      NHibernate.ByteCode.Spring
    </property>
    <property name="dialect">
      NHibernate.Dialect.MsSql2008Dialect,NHibernate
    </property>
    <property name="connection.connection_string">
      Data Source=HP-HP;Database=SAKS;Integrated Security=SSPI;
    </property>
        <!--WIN-ULRQRTKNB1H-->
    <property name="cache.provider_class">NHibernate.Cache.HashtableCacheProvider, NHibernate</property>
    <property name="cache.use_second_level_cache">true</property>
    <property name="cache.use_query_cache">true</property>
    <mapping assembly="SAKS.Models"/>
    <class-cache class="SAKS.Models.Role,SAKS.Model" include="non-lazy" usage="read-write" />
  </session-factory>
</hibernate-configuration>